Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2018 17:04:56 +0200
From:      Steffen Nurpmeso <steffen@sdaoden.eu>
To:        Alan Somers <asomers@freebsd.org>
Cc:        Eric van Gyzen <eric@vangyzen.net>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: Request for Review: Generate /etc/services from the IANA registry
Message-ID:  <20180911150456.JQd44%steffen@sdaoden.eu>
In-Reply-To: <CAOtMX2iHph_mS9PBkSaSs%2BdsjVa9niScQ9-Q-efr5pavf_9tZw@mail.gmail.com>
References:  <8b7930bc-1086-05d3-c019-052368ddf097@vangyzen.net> <59cd421e-f5d4-855a-83ec-65726f792555@vangyzen.net> <20180911142000.unrYV%steffen@sdaoden.eu> <CAOtMX2iHph_mS9PBkSaSs%2BdsjVa9niScQ9-Q-efr5pavf_9tZw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alan Somers wrote in <CAOtMX2iHph_mS9PBkSaSs+dsjVa9niScQ9-Q-efr5pavf_9tZ\
w@mail.gmail.com>:
 |Don't worry Steffen.=C2=A0 Python won't be a build requirement for FreeBS=
D \
 |even after Eric's patch.=C2=A0 His Python script will only need to be run=
 \
 |whenever IANA=20
 |updates its database, and the results will be checked into source contro\
 |l.=C2=A0 So for a normal user, there is no change to "make buildworld && =
make=20
 |installworld".

I cannot, unfortunately.  I use binary updates and even
preinstalled VM images (thanks for that, by the way).

 |As for Python vs Awk, I too tried to do this with Awk.=C2=A0 However, Awk=
 \
 |can't easily handle things like IANA's representation of aliases, and \
 |it can't=20
 |easily format the list in the same order as our current list.=C2=A0 Pytho=
n \
 |is truly a better choice.

I absolutely fail to see what you mean.  The script (which is in
actual use, mind you) generates the desired output except that
comments get lost, but this could be added upon interest, of
course.  It (or a derivative) would have been a good candidate for
/usr/share/misc/ in elder times i guess, too.

 |-Alan

Ciao.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180911150456.JQd44%steffen>